﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.WWW.Session.sessionStateH" %>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="title">
					<h1><%if(isshow){ %><%=GetText("Dispute Session") %><%}else{ %>The status of the session has changed<%} %></h1>
				</div>
				<div class="Center9001n">
					<div class="Center9001Left">
					<%if(isshow){  %>
						<div class="right_layerA">
							<div class="layer_contentA">
								<div class="layer_contentA5">
									<div class="card">
										<div class="floatl"><a href="<%=WWWHost %>/<%=sm.SNO %>.htm" title="<%=sm.SNickname %>"><img src="<%=sm.SAvatar==""?"/Images/no_pic.gif":sm.SAvatar %>" width="50" height="50" border="0" /></a></div>
										<div class="floatr"><strong><%=sm.SNickname%></strong>
										<p>Session:<%=sessioncount%></p><span class="grey11"><%=GetText("C0102",new string[]{BLF.StaticData.GetCountryText(Nationality)}) %></span>
										
										</div>
										<div class="cleartm"></div>
									</div>
								</div>
							</div>
						</div>
					<%} %>
					</div>
					<div class="Center9001Right">
							<div class="center9001content">
								<div class="teach_area">
									<%if(isshow){  %>
									<div class="session_active">
										<p>Session ID: <a href="<%=WWWHost %>/session/session.htm?sid=<%=sm.SessionID %>"><%=sm.SessionID %></a></p>
										<p>Payment ID: <%=GetPayID(sm.SessionID) %></p>
										<hr size="1" color="#cccccc" />
										<p><strong>The student's explanation for dispute</strong></p>
										<p><%=HttpUtility.HtmlEncode(mess).Replace("\n", "<br/>")%></p>
									</div>
									<div class="session_rate">
										<p><strong>Note</strong></p>
										<p>If you have any supporting documentation or evidence for your dispute, please submit it to italki.  Once a student has lodged a dispute, the teacher will have 14 days to respond. italki will arbitrate the dispute and take the appropriate action according to the Terms of Service. All judgements and decisions made by italki in any session dispute are final. Documentation can be sent to <a href="mailto:dispute@italki.com">dispute@italki.com</a>. Please include the Session ID number in your communication with us.</p>
									</div>
									<div class="session_pay">
										<p><strong>My response to the dispute</strong></p>
										<p><textarea id="txtCommInput" style="width:625px" rows="3"></textarea><span id="StxtCommInput"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("ST155",new string[]{"1","1000"})%></span></p>
										<p><input id="btnCommInput" class="button" type="button" value="Submit Dispute"  onclick="btnsave()"/>&nbsp;&nbsp;<input id="Cancel" class="buttong" type="button" value="Cancel"  onclick="cucancel()"/></p>
									</div>
									<%}else{ %><p>The action is not valid now.</p><p><a href="<%=WWWHost%>/session/session.htm?sid=<%=sid %>">Return the session and check the action required</a></p><%} %>
								</div>
							</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script>
var sid=<%=sid %>;
var memberno="<%=Memberno %>";
</script>
